package com.runshu.newsmartark.mvp.contract;

import com.runshu.newsmartark.network.netbean.ResponseBean;
import com.runshu.newsmartark.network.netinterface.BaseCallBack;

/**
 * Demo class
 *
 * @author yu
 * @date 12/2/20
 * @decs：
 */

public interface GetStorageContract {
    interface Model {
        void getCategoryList(String macAddress, int type, BaseCallBack baseCallBack);
        void  getStockType(String customerId,String hospitalId,BaseCallBack baseCallBack);

    }

    interface View {
        void onGetCategoryListSuccess(ResponseBean responseBean);

        void onGetStockTypeSuccess(ResponseBean responseBean);

        void onError(String msg);
    }

    interface Presenter {
        void getCategoryList(String macAddress, int type);
        void  getStockType(String customerId,String hospitalId);

    }
}
